Service Bus (1 / 27): You are tasked with building a component that will delay the activation of messages sent to an Azure Service Bus queue. Which of the following options should you use to achieve this functionality?
Answer:
The ScheduledEnqueueTimeUtc property allows you to specify the time at which the message should be activated and made available in the queue. This ensures that messages are only moved to the Active state after a specified period of time.
The TimeToLive property sets the duration for which a message will be available in the queue before it is automatically removed. It doesn't control the activation time of the message.
The LockDuration property is used to define how long a message is locked for processing and is not related to delaying the activation of messages.